.class Llt/noframe/gpsfarmguide/views/FragmentSettings$5;
.super Ljava/lang/Object;
.source "FragmentSettings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/views/FragmentSettings;->showSelected()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/FragmentSettings;)V
    .locals 0

    .line 256
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$5;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 4

    .line 259
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$5;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object p1

    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->GPS_REFRESH_RATE:Llt/minvib/magicpreferences/MagicFloatPreference;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/views/FragmentSettings$5;->this$0:Llt/noframe/gpsfarmguide/views/FragmentSettings;

    invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Llt/minvib/magicpreferences/MagicFloatPreference;->get(Landroid/content/Context;)Ljava/lang/Float;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F

    move-result v0

    new-instance v1, Llt/noframe/gpsfarmguide/views/FragmentSettings$5$1;

    invoke-direct {v1, p0}, Llt/noframe/gpsfarmguide/views/FragmentSettings$5$1;-><init>(Llt/noframe/gpsfarmguide/views/FragmentSettings$5;)V

    const v2, 0x3a83126f    # 0.001f

    const/high16 v3, 0x41f00000    # 30.0f

    invoke-static {p1, v0, v2, v3, v1}, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog;->show(Landroid/content/Context;FFFLlt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$OnNumberSelectListener;)V

    const/4 p1, 0x1

    return p1
.end method
